package com.class05.ioc01;

import org.springframework.stereotype.Component;
// @Component作用在类上，表示将当前类放入spring容器中，默认类名为类名首字母小写，即commonComponent
// 相当于<bean id="commonComponent" class="com.class05.ioc01.CommonComponent"/>
@Component(value = "yy")
public class CommonComponent {
}
